package org.jeecg.modules.golf.question.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.golf.plan.client.MyPlanAnalysisDTO;
import org.jeecg.modules.golf.plan.client.MyPlanAnalysisQueryDTO;
import org.jeecg.modules.golf.question.client.TrainAnalysisDTO;
import org.jeecg.modules.golf.question.client.qto.QuestionQueryPageDTO;
import org.jeecg.modules.golf.question.entity.MyQuestionPlan;

import java.util.List;

/**
 * @Description: 我的问题解决方案
 * @Author: jeecg-boot
 * @Date:   2020-11-21
 * @Version: V1.0
 */
public interface IMyQuestionPlanService extends IService<MyQuestionPlan> {

	/**
	 * 按问题查询我的问题方案
	 * @param mainId
	 * @return
	 */
	 List<MyQuestionPlan> selectByMainId(Long mainId);

     /**
      训练分析
      */
	 IPage<TrainAnalysisDTO> trainAnalysis(QuestionQueryPageDTO<TrainAnalysisDTO> questionQueryPageDTO);

	/**
	 *  方案分析
	 * @param myPlanAnalysisQueryDTO
	 * @return
	 */
	IPage<MyPlanAnalysisDTO> planAnalysis(MyPlanAnalysisQueryDTO myPlanAnalysisQueryDTO);
}
